package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.pojo.Orders_订单;

/**
 * @Author: cl
 * @Date: 2022/4/5 - 04 - 05
 * @Description:
 */
public interface OrderService extends IService<Orders_订单> {

    //用户下单
    void submit(Orders_订单 orders);

    //获取订单列表和商品数量
    Page getWithDish(int page, int pageSize);
}
